﻿using System;
namespace XYW.Model
{
	/// <summary>
	/// Comments:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Comments
	{
		public Comments()
		{}
		#region Model
		private int _id;
		private string _belongtype;
		private int? _belongid;
		private string _comment;
		private int? _userid;
		private string _username;
		private int? _parentid;
		private DateTime? _pubtime;
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string belongType
		{
			set{ _belongtype=value;}
			get{return _belongtype;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? belongId
		{
			set{ _belongid=value;}
			get{return _belongid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string comment
		{
			set{ _comment=value;}
			get{return _comment;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? userId
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string userName
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? parentId
		{
			set{ _parentid=value;}
			get{return _parentid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? pubTime
		{
			set{ _pubtime=value;}
			get{return _pubtime;}
		}
		#endregion Model

	}
}

